<template>
  <u-navbar
    :is-back="isShowBack"
    :title="title"
    :title-bold="true"
    :titleWidth="600"
    :border-bottom="false"
    title-color="#333333"
    :background="background"
    :immersive="isShowBg"
    :back-icon-color="isShowBg ? '#fff' : ''"
    :is-fixed="true"
    z-index="99999"
  />
</template>

<script>
export default {
  name: "BaseNavbar",
  props: {
    title: { type: String, default: "" },
    isShowBack: { type: Boolean, default: true },
    isShowBg: { type: Boolean, default: false },
    background:{type: Object,default:{background:'#fff'}}
  },
  watch: {
    isShowBg() {
      // this.background = { background: this.isShowBg ? "transparent" : "#fff" };
      
    },
    background(nes,old){
      console.log(nes)
    }
  },
  data() {
    return {
      
    };
  },
};
</script>

<style lang="scss" scoped>
</style>